<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        [class^="icon-"] {

            background-color: pink;
            width: 32px;
            height: 32px;


        }

        /* 具体图标定位 */
        .icon-play {
            background-position: 0 0;
        }

        .icon-pause {
            background-position: -32px 0;
        }
    </style>
</head>

<body>
    <i class="icon-play">fdhhtrshghds</i>
    <i class="icon-pause">dsfhtdshdfgshfcsb</i>
    <i class="btn">fxdhgshreahre</i>
</body>

</html>